<template>
    <div id="app"></div>
</template>
<script>
import http from '@/common/http'
export default {
    data () {
        return {
        }
    },
    computed: {
    },
    mounted () {
        // console.log(http, 'httphttphttp')
        // http://www.kuaidi100.com/query?type=%E5%BF%AB%E9%80%92%E5%85%AC%E5%8F%B8%E7%BC%96%E7%A0%81&postid=%E5%BF%AB%E9%80%92%E5%8D%95%E5%8F%B7

        this.name()
    },
    methods: {
        async name () {
            let a = await http({
                url: "/query",
                method: "get",
                data: {
                    type: "shentong",
                    postid: "123141234"
                }
            })
            console.log(a,'cccccccccccccccccccccc')
        }
    },
}
</script>
<style lang="less" scoped>
.shiyan {
    padding: 10px;
    background: red;
    .shiyan2 {
        width: 50%;
        height: 30px;
        background: #fff;
    }
}
</style>
<style>
#app {
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
}
</style>
